---
title: bud.bundle
description: Specify a set of assets to include in the compilation.
tags:
  - configuration
  - facade
---

Split specified modules into a separate chunk

## Usage

The simplest usage is the name of the directory to create the chunk from:

```ts title=bud.config.ts
bud.bundle('alpine')
```

This produces a chunk named `js/bundle/alpine.js`

You can specify a set of modules to include in the chunk:

```ts title=bud.config.ts
bud.bundle('vendor', ['react', 'react-dom'])
```
